package com.yinhe.music.yhmusic.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hasee on 2017/3/25.
 */

public class AlbumInfo implements Serializable, MultiItemEntity {

    private int albumId;
    private String albumName;
    private int commentNum;
    private String image;
    private String intro;
    private int collectNum;
    private int singerId;
    private String singerName;
    private int collectStatus;
    private int songNum;
    private int pageNum;

    private boolean select;

    private List<AlbumInfo> albumList;


    public AlbumInfo(int pageNum, List<AlbumInfo> albumList) {
        this.pageNum = pageNum;
        this.albumList = albumList;
    }

    /**
     * 专辑界面类型
     */
    private int itemType;
    public static final int OTHER_ALBUM_LSIT = 1;
    public static final int NEW_ALBUM_LSIT = 2;

    public AlbumInfo() {

    }

    public int getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(int collectNum) {
        this.collectNum = collectNum;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getCollectStatus() {
        return collectStatus;
    }

    public void setCollectStatus(int collectStatus) {
        this.collectStatus = collectStatus;
    }

    public List<AlbumInfo> getAlbumList() {
        return albumList;
    }

    public void setAlbumList(List<AlbumInfo> albumList) {
        this.albumList = albumList;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }

    public boolean isSelect() {
        return select;
    }

    public void setSelect(boolean select) {
        this.select = select;
    }

    public int getAlbumId() {
        return albumId;
    }

    public void setAlbumId(int albumId) {
        this.albumId = albumId;
    }

    public String getAlbumName() {
        return albumName;
    }

    public void setAlbumName(String albumName) {
        this.albumName = albumName;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }


    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getSingerId() {
        return singerId;
    }

    public void setSingerId(int singerId) {
        this.singerId = singerId;
    }

    public String getSingerName() {
        return singerName;
    }

    public void setSingerName(String singerName) {
        this.singerName = singerName;
    }

    public int getSongsnum() {
        return songNum;
    }

    public void setSongsnum(int songsnum) {
        this.songNum = songsnum;
    }


    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null) {
            return false;
        }
        if (getClass() != o.getClass()) {
            return false;
        }
        final AlbumInfo albumInfo = (AlbumInfo) o;
        if (this.getAlbumId() != albumInfo.getAlbumId()) {
            return false;
        }
        return true;
    }

    @Override
    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }
}
